package praticas.fiptwitter.execucao;

import easyaccept.EasyAcceptFacade;
import java.util.ArrayList;
import java.util.List;
import praticas.fiptwitter.facade.FIPTwitterFacade;
import praticas.fiptwitter.interfaces.InterfaceFIPTwitterFacade;

/**
 *
 * @author David vieira
 */
public class ExecutarArquivos {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        List<String> files = new ArrayList<String>();
        //Put the us1.txt file into the "test scripts" list
        files.add("arquivosEasyAccept/US1.txt");
        files.add("arquivosEasyAccept/US1_1.txt");
        files.add("arquivosEasyAccept/US2.txt");
        files.add("arquivosEasyAccept/US2_1.txt");
        files.add("arquivosEasyAccept/US3.txt");
        files.add("arquivosEasyAccept/US3_1.txt");
        //Instantiate the fipTwitterFacade
        InterfaceFIPTwitterFacade fipTwitterFacade = new FIPTwitterFacade();
        //Instantiate EasyAccept facade
        EasyAcceptFacade eaFacade = new EasyAcceptFacade(fipTwitterFacade, files);
        //Execute the tests
        eaFacade.executeTests();
        //Print the tests execution results
        System.out.println(eaFacade.getCompleteResults());

    }
}
